import request from '@/utils/request'

//
export function payTest(data) {
  return request({
    url: '/pay/test',
    headers: {
      isToken: false
    },
    method: 'post',
    data: data
  })
}
//
export function testBatch() {
  return request({
    url: '/pay/testBatch',
    headers: {
      isToken: false
    },
    method: 'post',
  })
}

// 查询订单状态
export function payQuery(tradeNo) {
  return request({
    url: '/pay/query?tradeNo='+tradeNo,
    method: 'get'
  })
}
